package main

import (
	"macaronDev/controller"
	"macaronDev/god"
	"macaronDev/middleware"
)

func main() {
	god.Fighting().
		DB(god.NewGormAdapter()).
		Middleware(middleware.NewAuthMiddleware()).
		Action("/v1",
			controller.NewIndexController()).
		Start("0.0.0.0", 1123)
}
